import {
  get,
  post
} from '../untils/request'

/**
 * 获取优惠券
 * @param data
 * api/getPrice/{send_longitude}/{send_latitude}/{put_longitude}/{put_latitude}/{insurance_price?}/{coupon?}
 */
export function coupon(data) {
  return get({
    url: 'getPrice' + data
  })
}
